package com.sg.model.app.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import java.io.Serial;
import lombok.experimental.Accessors;

import jakarta.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Date;

/**
 * @author ：CHS
 * @since 2025/5/25 10:22
 *
 *
 * @version 1.0
 */
@Data
@Accessors(chain = true)
@TableName("oms_target_category")  //3-3-02目标分类表
public class OmsTargetCategory implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;
    
    
    /**
     * 目标分类ID 
     */
    @TableId(value = "target_category_id", type = IdType.ASSIGN_UUID)
		@NotNull(message = "targetCategoryId不能为空")
    private String	 targetCategoryId;
    /**
     * 目标分类标识 
     */
    @TableField(value = "target_category_code")
		@NotNull(message = "目标分类标识不能为空")
		@Schema(description = "目标分类标识")
    private String	 targetCategoryCode;
    /**
     * 归属父级目标分类ID 
     */
    @TableField(value = "parent_ttarget_category_id")
		@Schema(description = "归属父级目标分类ID")
    private String	 parentTtargetCategoryId;
    /**
     * 归属父级目标ID 
     */
    @TableField(value = "parent_target_id")
		@Schema(description = "归属父级目标ID")
    private String	 parentTargetId;
    /**
     * 冗余一级目标分类ID 
     */
    @TableField(value = "root_target_category_id")
		@Schema(description = "冗余一级目标分类ID")
    private String	 rootTargetCategoryId;
    /**
     * 冗余目标ID 
     */
    @TableField(value = "target_id")
		@NotNull(message = "冗余目标ID不能为空")
		@Schema(description = "冗余目标ID")
    private String	 targetId;
    /**
     * 是否开启主观评分 TRUE:是 FALSE:否
     */
    @TableField(value = "is_subjective_scoring")
		@NotNull(message = "是否开启主观评分不能为空")
		@Schema(description = "是否开启主观评分")
    private String	 isSubjectiveScoring;
    /**
     * 目标分类是否末级 TRUE:是 FALSE:否
     */
    @TableField(value = "is_last")
		@NotNull(message = "目标分类是否末级不能为空")
		@Schema(description = "目标分类是否末级")
    private String	 isLast;
    /**
     * 周期模式类型编码 FATHER_SON_CYCLE:父子周期 SINGLE_CYCLE:单周期 IRREGULAR_CYCLE:不规则周期
     */
    @TableField(value = "periodic_mode_type_code")
		@NotNull(message = "周期模式类型编码不能为空")
		@Schema(description = "周期模式类型编码")
    private String	 periodicModeTypeCode;
    /**
     * 层级 
     */
    @TableField(value = "level_number")
		@NotNull(message = "层级不能为空")
		@Schema(description = "层级")
    private Long	 levelNumber;
    /**
     * 排序 
     */
    @TableField(value = "order_number")
		@NotNull(message = "排序不能为空")
		@Schema(description = "排序")
    private Long	 orderNumber;
    /**
     * 目标分类编号 
     */
    @TableField(value = "target_category_number")
		@NotNull(message = "目标分类编号不能为空")
		@Schema(description = "目标分类编号")
    private String	 targetCategoryNumber;
    /**
     * 批次标识 
     */
    @TableField(value = "batch_code")
		@Schema(description = "批次标识")
    private String	 batchCode;

  /**
   * 部门排序
   */
  @TableField(value = "duty_body_order_num")
  @Schema(description = "部门排序")
  private Long dutyBodyOrderNum;

  /**
   * 创建于批次标识
   */
  @TableField(value = "create_batch_code")
  @Schema(description = "创建于批次标识")
  private String createBatchCode;

    /**
     * 目标分类名称 
     */
    @TableField(value = "target_category_name")
		@NotNull(message = "目标分类名称不能为空")
		@Schema(description = "目标分类名称")
    private String	 targetCategoryName;
    /**
     * 批次开始时间 
     */
    @TableField(value = "batch_start_time")
		@Schema(description = "批次开始时间")
    private Date	 batchStartTime;

  /**
   * 个人排序
   */
  @TableField(value = "personal_order_number")
  @Schema(description = "个人排序")
  private Long personalOrderNumber;

    /**
     * 目标分类简介 
     */
    @TableField(value = "target_category_describe")
		@Schema(description = "目标分类简介")
    private String	 targetCategoryDescribe;
    /**
     * 批次结束时间 
     */
    @TableField(value = "batch_endt_time")
		@NotNull(message = "批次结束时间不能为空")
		@Schema(description = "批次结束时间")
    private Date	 batchEndtTime;

  /**
   * 佐证材料要求
   */
  @TableField(value = "support_requirement")
  @Schema(description = "佐证材料要求")
  private String supportRequirement;

  /**
   * 权重排序
   */
  @TableField(value = "weight_order_number")
  @Schema(description = "权重排序")
  private Long weightOrderNumber;

    /**
     * 目标分类备注 
     */
    @TableField(value = "target_category_remarks")
		@Schema(description = "目标分类备注")
    private String	 targetCategoryRemarks;
    /**
     * 批次下是否更新 TRUE:是 FALSE:否
     */
    @TableField(value = "is_update")
		@NotNull(message = "批次下是否更新不能为空")
		@Schema(description = "批次下是否更新")
    private String	 isUpdate;
    /**
     * 批次下更新状态 NEW:本次新增 UNCHANGED:正常未变 REVISION:本次修订 ARCHIVE:本次存档
     */
    @TableField(value = "update_status")
		@NotNull(message = "批次下更新状态不能为空")
		@Schema(description = "批次下更新状态")
    private String	 updateStatus;
    /**
     * 冗余评价模板ID 
     */
    @TableField(value = "evaluation_template_id")
		@NotNull(message = "冗余评价模板ID不能为空")
		@Schema(description = "冗余评价模板ID")
    private String	 evaluationTemplateId;
    /**
     * 存档类型 NOT_ARCHIVE:未归档 TOBE_ARCHIVING:想归档 ARCHIVED:已归档
     */
    @TableField(value = "archivng_type")
		@NotNull(message = "存档类型不能为空")
		@Schema(description = "存档类型")
    private String	 archivngType;
    /**
     * 是否未来 TRUE:是 FALSE:否
     */
    @TableField(value = "is_editing")
		@NotNull(message = "是否未来不能为空")
		@Schema(description = "是否未来")
    private String	 isEditing;
    /**
     * 是否存档 TRUE:是 FALSE:否
     */
    @TableField(value = "is_archive")
		@NotNull(message = "是否存档不能为空")
		@Schema(description = "是否存档")
    private String	 isArchive;
    /**
     * 主体生命周期 CURRENTLY_VALID:当前有效 EDITING:正在编辑 ARCHIVING:历史存档
     */
    @TableField(value = "subject_life_cycle")
		@NotNull(message = "主体生命周期不能为空")
		@Schema(description = "主体生命周期")
    private String	 subjectLifeCycle;
    /**
     * 操作人就职记录ID 
     */
    @TableField(value = "operation_induction_id")
		@NotNull(message = "操作人就职记录ID不能为空")
		@Schema(description = "操作人就职记录ID")
    private String	 operationInductionId;
    /**
     * 创建人就职记录ID 
     */
    @TableField(value = "create_induction_id")
		@NotNull(message = "创建人就职记录ID 不能为空")
		@Schema(description = "创建人就职记录ID ")
    private String	 createInductionId;
    /**
     * 发布人就职记录ID 
     */
    @TableField(value = "release_induction_id")
		@Schema(description = "发布人就职记录ID")
    private String	 releaseInductionId;
    /**
     * 存档人就职记录ID 
     */
    @TableField(value = "archive_induction_id")
		@Schema(description = "存档人就职记录ID")
    private String	 archiveInductionId;
    /**
     * 操作时间 
     */
    @TableField(value = "operate_time")
		@NotNull(message = "操作时间不能为空")
		@Schema(description = "操作时间")
    private Date	 operateTime;
    /**
     * 创建时间 
     */
    @TableField(value = "create_time")
		@NotNull(message = "创建时间不能为空")
		@Schema(description = "创建时间")
    private Date	 createTime;
    /**
     * 发布时间 
     */
    @TableField(value = "release_time")
		@Schema(description = "发布时间")
    private Date	 releaseTime;
    /**
     * 存档时间 
     */
    @TableField(value = "archive_time")
		@Schema(description = "存档时间")
    private Date	 archiveTime;
    /**
     * 是否作废 TRUE:是 FALSE:否
     */
    @TableField(value = "is_valid")
		@NotNull(message = "是否作废不能为空")
		@Schema(description = "是否作废")
    private String	 isValid;
    /**
     * 创建于空间ID 
     */
    @TableField(value = "space_id")
		@NotNull(message = "创建于空间ID不能为空")
		@Schema(description = "创建于空间ID")
    private String	 spaceId;
    /**
     * 创建于联盟应用ID 
     */
    @TableField(value = "app_id")
		@NotNull(message = "创建于联盟应用ID不能为空")
		@Schema(description = "创建于联盟应用ID")
    private String	 appId;
}
